const fp = require("lodash/fp");
const { Maybe } = require("./support");

const ex4 = function (n) {
  return Maybe.of(n).map(function (x) {
    return parseInt(x)
  });
};

console.log(ex4(0));
console.log(ex4("9"));
console.log(ex4("0"));
console.log(ex4("a"));
console.log(ex4("-1"));
